<?php
session_start();
if(isset($_SESSION['lang']))
{
unset($_SESSION['lang']);
}
if(isset($_SESSION['languages']))
{
unset($_SESSION['languages']);
}
include ("header2.php");
//include('databaseconnection.php');

echo "<table border='1'  cellspacing='1' cellpadding='2'  align='left' width='100%'>";

			

			  
			   
			
			   
echo "<tr bgcolor='#FFFFFF'>
<th>FirstName</th>
<th>LastName</th>

<th>Email</th>
<th>Country</th>
<th>Language</th>
<th>Qualification</th>



<th>Add User_Type</th>
</tr>";



$result=mysql_query("SELECT * FROM user");
if(!$result) echo "invalid";
while($row=mysql_fetch_array($result))
{
//echo "<form  action='Add_user_role.php' method='post'>";
echo "<tr>";
echo "<td width='15%'>".$row['first_name']."</td>";
$uemail=$row['email'];
echo "<td width='15%'>".$row['last_name']."</td>";
echo "<td width='15%'>".$row['email']."</td>";
echo "<td width='12%'>".$row['country']."</td>";
echo "<td width='13%'>".$row['language']."</td>";


echo "<td width='20%'>".$row['qualification']."</td>";
//echo "<td width='17%'>".$row['linked_in']."</td>";
//echo "<td width='20%'>".$row['short_bio']."</td>";
//echo "<td width='10%'><input type='submit' name='$email' value='Add user role'/><input type='hidden' name='butt' value='$email'</td>";



echo "<td width='3%'><a href='Add_user_role.php?lis=$uemail'>More</a></td>";


echo "</tr>";
//echo "</form>";
}

echo "</table>";
            
include ('footer.php');
?>
